<!--#set($article = $fn.article_id($params.get("id")))-->
<!--$fn.article_hits($params.get("id"))-->
<!--#set($assort = $fn.assort_no($article.NO))-->
<!--#set($page_title = "$util.stripTags($article.TITLE) - $setting.sysname")-->

<!DOCTYPE html>
<html>
<head>
#parse("tpl/gabz/meta.htm")
</head>
<body class="list_body">
	#parse("tpl/gabz/header.htm")
	<table class="detail" width="1000" align="center"  cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td>
				<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td height="48" valign="center">
								<span>您的位置</span>
								<span>：</span>
								<span><a href="index.htm" target="_blank" title="首页">首页</a></span>
								<span>&gt</span>
								<!--#if($assort.NO == '15')-->
								<span><a href="img_txt_list.htm?id=${article.NO}" target="_blank">${assort.NAME}</a></span>
								<span>&gt</span>
								<!--#else-->
								<span><a href="list.htm?id=${article.NO}" target="_blank">${assort.NAME}</a></span>
								<span>&gt</span>
								<!--#end-->
								<span class="current">详情</span>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table class="article" cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td>
							<table class="top" width="994" align="center" cellpadding="0" cellspacing="0" border="0">
								<tr>
									<td width="37">&nbsp;</td>
									<td width="97" height="54" align="center" valign="bottom">
										 <p class="txt">${assort.NAME}</p>
									</td>
									<td valign="bottom">
										&nbsp;
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<table class="head"  width="942" align="center" cellpadding="0" cellspacing="0">
								<tr>
									<td class="title" align="center" valign="top" height="33">${article.TITLE}</td>
								</tr>
								<!--#if(${article.SUBJECT})-->
								<tr>
									<td class="title_mini" align="center" valign="center">${article.SUBJECT}</td>
								</tr>
								<!--#end-->
								<tr>
									<td class="dateline" align="center" height="62">发布时间：${article.PUBDATE}&nbsp;浏览次数：${article.HITS}次</td>
								</tr>
							</table>
						</td>
					</tr>
					<!--#if($fn.check_ip($article) && $fn.check_ip($assort))-->
					<tr>
						<td>
							<table class="image"  width="942" align="center" cellpadding="0" cellspacing="0">
								<tr>
									<td height="31"></td>
								</tr>
								<!--#if($article.NO == '4001')-->
									<!--#foreach($img in $article.IMGLIST)-->
										<!--#if($util.utf8Substring($img, 12) == $util.utf8Substring($article.IMG, 12))-->
										<!--#else-->
										<tr>
											<td class="title" align="center" valign="top"><img src="${img}"/></td>
										</tr>
										<tr>
											<td height="31"></td>
										</tr>
										<!--#end-->
									<!--#end-->
								<!--#else-->
									<!--#foreach($img in $article.IMGLIST)-->
										<tr>
											<td class="title" align="center" valign="top"><img src="${img}"/></td>
										</tr>
										<tr>
											<td height="31"></td>
										</tr>
									<!--#end-->
								<!--#end-->
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<table class="text"  width="942" align="center" cellpadding="0" cellspacing="0">
								<tr>
									<td>
										<div class="paragraph">										
										${article.CONTENT}
										</div>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<!--#else-->
					<tr>
						<td>
							<table width="400" cellpadding="40" cellspacing="40" border="0">
								<tr>
								<td style="font-size:18px;">此内容为内部信息，不对外公开。</td>
								</tr>
							</table>
						</td>
					</tr>
					<!--#end-->
					<tr>
						<td>
							<!--#set($article_prev = $fn.article_prev($article))-->
							<!--#set($article_next = $fn.article_next($article))-->
							<table class="page" align="right" cellpadding="0" cellspacing="0">
								<tr height="43">
									<!--#if($article_prev)-->
									<td align="right">
										<a href="detail.htm?id=${article_prev.ROW_ID}" title="${article_prev.TITLE}" class="prev">上一篇</a>
									</td>
									<!--#end-->
									<!--#if($article_prev && $article_next)-->
									<td align="center" width="45">
										|
									</td>
									<!--#end-->
									<!--#if($article_next)-->
									<td align="left" width="60">
										<a href="detail.htm?id=${article_next.ROW_ID}" title="${article_next.TITLE}" class="next">下一篇</a>
									</td>
									<!--#end-->
									<td width="40">&nbsp;</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="16"></td>
		</tr>
		<tr>
			<td valign="bottom">
				<table class="relation" width="1000" align="center" cellpadding="0" cellspacing="0">
					<tr>
						<td>							
							<table  width="936" align="center" cellpadding="0" cellspacing="0">
								<tr>
								<td width="15" height="60" align="left"><img src="$THEME/images/icon-relation.jpg"></td>
								<td valign="center"><p class="title">相关推荐</p></td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td align="center">
							<!--$pager.setPageSize(4)-->
							<!--#foreach($article in $fn.article_list($article.NO, $pager, "AND a.ROW_ID <> '$article.ROW_ID'"))-->
							<div class="block">
								<table width="936" align="center" cellpadding="0" cellspacing="0">
									<tr>
										<td width="15" height="35"><img src="$THEME/images/icon-relation-list.jpg"></td>
										<td><a href="detail.htm?id=${article.ROW_ID}" target="_blank" title="${article.TITLE}">${util.utf8Substring($article.TITLE, 50)}</a></td>
										<td width="80" align="right">${util.format($article.PUBDATE, "yyyy/mm/dd")}</td>
									</tr>
								</table>
							</div>
							<!--#end-->
						</td>
					</tr>
					<tr>
						<td height="25"></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="45"></td>
		</tr>
	</table>
	
	#parse("tpl/gabz/footer.htm")
	
</body>
</html>